package com.bdsoft.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题服务对象 qms_question
 * 
 * @author dumingshen
 * @date 2025-10-29
 */
public class QmsQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题目标题 */
    @Excel(name = "题目标题")
    private String title;

    /** 题目解答 */
    @Excel(name = "题目解答")
    private String answer;

    /** 题目难度等级 */
    @Excel(name = "题目难度等级")
    private Integer LEVEL;

    /** 排序 */
    @Excel(name = "排序")
    private Long displayOrder;

    /** 副标题 */
    @Excel(name = "副标题")
    private String subTitle;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Long TYPE;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Integer ENABLE;

    /** 删除标记（0-正常，1-删除） */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }

    public void setLEVEL(Integer LEVEL) 
    {
        this.LEVEL = LEVEL;
    }

    public Integer getLEVEL() 
    {
        return LEVEL;
    }

    public void setDisplayOrder(Long displayOrder) 
    {
        this.displayOrder = displayOrder;
    }

    public Long getDisplayOrder() 
    {
        return displayOrder;
    }

    public void setSubTitle(String subTitle) 
    {
        this.subTitle = subTitle;
    }

    public String getSubTitle() 
    {
        return subTitle;
    }

    public void setTYPE(Long TYPE) 
    {
        this.TYPE = TYPE;
    }

    public Long getTYPE() 
    {
        return TYPE;
    }

    public void setENABLE(Integer ENABLE) 
    {
        this.ENABLE = ENABLE;
    }

    public Integer getENABLE() 
    {
        return ENABLE;
    }

    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("answer", getAnswer())
            .append("LEVEL", getLEVEL())
            .append("displayOrder", getDisplayOrder())
            .append("subTitle", getSubTitle())
            .append("TYPE", getTYPE())
            .append("ENABLE", getENABLE())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
